package cn.yunhe.entity;

/**
 * Created by Administrator on 2018/4/13.
 */
public class Publish {
    private int pId;
    private String publish;

    public Publish() {
        super();
    }

    @Override
    public String toString() {
        return "Publish{" +
                "pId=" + pId +
                ", publish='" + publish + '\'' +
                '}';
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public String getPublish() {
        return publish;
    }

    public void setPublish(String publish) {
        this.publish = publish;
    }

    public Publish(int pId, String publish) {

        this.pId = pId;
        this.publish = publish;
    }
}
